cmake_minimum_required(VERSION 3.7)
project(unisrc)
set(CMAKE_C_STANDARD 11)

add_subdirectory(demo)
add_subdirectory(console)
add_subdirectory(controller)
add_subdirectory(frame)
add_subdirectory(qmath)
add_subdirectory(solver)
add_subdirectory(utils/key)
add_subdirectory(filter)
add_subdirectory(sort)
add_subdirectory(cv)

add_executable(qdemo qdemo.c)

target_link_libraries(qdemo -lpthread)
target_link_libraries(qdemo demo_qsh)
target_link_libraries(qdemo demo_timeslice)
target_link_libraries(qdemo demo_msg)
target_link_libraries(qdemo demo_fsm)
target_link_libraries(qdemo demo_qmath)
target_link_libraries(qdemo demo_qkey)
target_link_libraries(qdemo demo_filter)
target_link_libraries(qdemo demo_sort)
